package com.example.spinning.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class MaterialInputStock {
    private int id;
    private String unit;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp date;
    private String name;
    private String norms;
    private String purpose;
    private float quantity;
    private float weight;
    private float moisture;
    private float net_weight;
    private float indicated_weight;
    private float price;
    private float total_amount;
    private String remarks;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNorms() {
        return norms;
    }

    public void setNorms(String norms) {
        this.norms = norms;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }


    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public float getQuantity() {
        return quantity;
    }

    public void setQuantity(float quantity) {
        this.quantity = quantity;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    public float getMoisture() {
        return moisture;
    }

    public void setMoisture(float moisture) {
        this.moisture = moisture;
    }

    public float getNet_weight() {
        return net_weight;
    }

    public void setNet_weight(float net_weight) {
        this.net_weight = net_weight;
    }

    public float getIndicated_weight() {
        return indicated_weight;
    }

    public void setIndicated_weight(float indicated_weight) {
        this.indicated_weight = indicated_weight;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(float total_amount) {
        this.total_amount = total_amount;
    }
    @Override
    public String toString() {
        return "MaterialInputStock{" +
                "id=" + id +
                ", unit='" + unit + '\'' +
                ", date=" + date +
                ", name='" + name + '\'' +
                ", norms='" + norms + '\'' +
                ", purpose='" + purpose + '\'' +
                ", quantity=" + quantity +
                ", weight=" + weight +
                ", moisture=" + moisture +
                ", net_weight=" + net_weight +
                ", indicated_weight=" + indicated_weight +
                ", price=" + price +
                ", total_amount=" + total_amount +
                ", remarks='" + remarks + '\'' +
                '}';
    }


}
